
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="shortcut icon" href="${root}images/favicon.ico">
    <link rel="apple-touch-icon-precomposed" href="images/apple-touch-icon.png">
    <title>我的收藏</title>
    <link rel="stylesheet" href="${root}css/seedsui.min.css">
</head>

<body ontouchstart="">
<section class="page">
    <header>
        <div class="titlebar">
        	<a class="titlebar-button" href="javascript:back()">
                <i class="icon icon-arrowleft"></i>
            </a>
            <h1 class="titlebar-title">我的收藏</h1>
        </div>
    </header>
    <article>
            <ul class="list">
            	<!--:for(r in obj!){  -->
                <li class="list-li underline" onclick="location.href='${root}${r.tbl_name!}/${r.tbl_id}'">
                    <div class="list-thumbnail">
                        <img data-load-src="" src="${www}${r.img!}" data-error-src="images/list-default.png"/>
                        
                    </div>
                    <div class="list-container">
                        <div class="list-title">
                            ${r.title!}
                        </div>
                        <div class="list-row">
                            <i class="list-icon icon-person color-primary"></i>
                            <p class="list-font">
                               	${r.teacher!}
                            </p>
                        </div>
                        <div class="list-row">
                            <i class="list-icon icon-computer color-primary"></i>
                            <p class="list-font">${r.text!}</p>
                        </div>
                    </div>
                    <i class="list-icon icon-arrowright"></i>
                </li>
                <!--:}  -->
            </ul>
    </article>
</section>
    <!-- <script src="../dist/seedsui.min.js"></script> -->
    <script>
        var view={
            /*=========================
              Model
              ===========================*/
            render:function(){
                var self = this;
                //渲染页面
                
                //加载数据
                this.loadData();
            },
            refresh:function(){
                console.log("刷新");
            },
            destroy:function(){
                console.log("移除");
            },
            loadData:function(){

                this._attach();//使用backbone时，此行无用
            },

            /*=========================
              Method
              ===========================*/
            _method:function(){
            },
            
            /*=========================
              Events
              ===========================*/
            _attach:function(e){
                var self=this;
            },

            /*=========================
              Event Handler
              ===========================*/
            _onEvent:function(e){
                
            }
        }

        window.addEventListener("load",function(){
            view.render();
        }, false);

        
        function back(){history.go(-1);}
    </script>
</body>
</html>
